﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EBA.Reporting.Spreadsheet
{
    /// <summary>
    /// 单元格
    /// </summary>
    public class Cell
    {
        /// <summary>
        /// 行索引
        /// </summary>
        public int RowIndex { get; internal set; }
        /// <summary>
        /// 列索引
        /// </summary>
        public LetterIndex ColumnIndex { get; internal set; }

        /// <summary>
        /// 纯文本值
        /// </summary>
        public virtual string Text { get; set; }

        /// <summary>
        /// 富文本值
        /// </summary>
        public virtual List<RichText> RichTexts { get; set; }

        /// <summary>
        /// 缩进
        /// </summary>
        public int Indent { get; set; }

    }
}
